[INFO] cloning repository https://github.com/phip1611/rust-llvm-bug-20220112-minimal-example
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/phip1611/rust-llvm-bug-20220112-minimal-example" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fphip1611%2Frust-llvm-bug-20220112-minimal-example", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fphip1611%2Frust-llvm-bug-20220112-minimal-example'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 8a6c6fab965f342d4fb5f791682fee183a6b5e5f
[INFO] building phip1611/rust-llvm-bug-20220112-minimal-example against try#3bbb5242a8064de4ca3af4036745ddf603ddaa85 for pr-101929
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fphip1611%2Frust-llvm-bug-20220112-minimal-example" "/workspace/builds/worker-7/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-7/source'...
[INFO] [stderr] done.
[INFO] validating manifest of git repo https://github.com/phip1611/rust-llvm-bug-20220112-minimal-example on toolchain 3bbb5242a8064de4ca3af4036745ddf603ddaa85
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+3bbb5242a8064de4ca3af4036745ddf603ddaa85" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] removed /workspace/builds/worker-7/source/.cargo/config.toml
[INFO] removed /workspace/builds/worker-7/source/rust-toolchain.toml
[INFO] started tweaking git repo https://github.com/phip1611/rust-llvm-bug-20220112-minimal-example
[INFO] finished tweaking git repo https://github.com/phip1611/rust-llvm-bug-20220112-minimal-example
[INFO] tweaked toml for git repo https://github.com/phip1611/rust-llvm-bug-20220112-minimal-example written to /workspace/builds/worker-7/source/Cargo.toml
[INFO] crate git repo https://github.com/phip1611/rust-llvm-bug-20220112-minimal-example already has a lockfile, it will not be regenerated
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+3bbb5242a8064de4ca3af4036745ddf603ddaa85" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e92e462e59ac3446a933540fd361ddeb5362c86f92d432d6a560a917a465022e" "/opt/rustwide/cargo-home/bin/cargo" "+3bbb5242a8064de4ca3af4036745ddf603ddaa85" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 0630b18a8988ec509792c8de12164c75408e4fd22a4860266ffe4973f0e4c72d
[INFO] running `Command { std: "docker" "start" "-a" "0630b18a8988ec509792c8de12164c75408e4fd22a4860266ffe4973f0e4c72d", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "0630b18a8988ec509792c8de12164c75408e4fd22a4860266ffe4973f0e4c72d", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "0630b18a8988ec509792c8de12164c75408e4fd22a4860266ffe4973f0e4c72d", kill_on_drop: false }`
[INFO] [stdout] 0630b18a8988ec509792c8de12164c75408e4fd22a4860266ffe4973f0e4c72d
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e92e462e59ac3446a933540fd361ddeb5362c86f92d432d6a560a917a465022e" "/opt/rustwide/cargo-home/bin/cargo" "+3bbb5242a8064de4ca3af4036745ddf603ddaa85" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] df2aa366f82ca302cf57e2d318cffd197c545dc87b28ac9ff474fe0dc166fb57
[INFO] running `Command { std: "docker" "start" "-a" "df2aa366f82ca302cf57e2d318cffd197c545dc87b28ac9ff474fe0dc166fb57", kill_on_drop: false }`
[INFO] [stderr]    Compiling libc v0.2.112
[INFO] [stderr]    Compiling version_check v0.9.4
[INFO] [stderr]    Compiling cfg-if v1.0.0
[INFO] [stderr]    Compiling once_cell v1.9.0
[INFO] [stderr]    Compiling kernel-bin v0.1.0 (/opt/rustwide/workdir)
[INFO] [stderr]    Compiling ttf-parser v0.12.3
[INFO] [stderr]    Compiling ahash v0.7.6
[INFO] [stderr]    Compiling getrandom v0.2.3
[INFO] [stderr]    Compiling hashbrown v0.11.2
[INFO] [stderr]    Compiling fontdue v0.6.2 (https://github.com/mooman219/fontdue.git#a7e02e9e)
[INFO] [stdout] warning: unused variable: `layout`
[INFO] [stdout]   --> src/main.rs:59:28
[INFO] [stdout]    |
[INFO] [stdout] 59 |     unsafe fn alloc(&self, layout: Layout) -> *mut u8 {
[INFO] [stdout]    |                            ^^^^^^ help: if this is intentional, prefix it with an underscore: `_layout`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `ptr`
[INFO] [stdout]   --> src/main.rs:63:30
[INFO] [stdout]    |
[INFO] [stdout] 63 |     unsafe fn dealloc(&self, ptr: *mut u8, layout: Layout) {
[INFO] [stdout]    |                              ^^^ help: if this is intentional, prefix it with an underscore: `_ptr`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `layout`
[INFO] [stdout]   --> src/main.rs:63:44
[INFO] [stdout]    |
[INFO] [stdout] 63 |     unsafe fn dealloc(&self, ptr: *mut u8, layout: Layout) {
[INFO] [stdout]    |                                            ^^^^^^ help: if this is intentional, prefix it with an underscore: `_layout`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: linking with `cc` failed: exit status: 1
[INFO] [stdout]   |
[INFO] [stdout]   = note: "cc" "-m64" "/tmp/rustcYGILMS/symbols.o" "/opt/rustwide/target/debug/deps/kernel_bin-ab602fe50a888618.kernel_bin.926a92fc-cgu.0.rcgu.o" "/opt/rustwide/target/debug/deps/kernel_bin-ab602fe50a888618.kernel_bin.926a92fc-cgu.1.rcgu.o" "/opt/rustwide/target/debug/deps/kernel_bin-ab602fe50a888618.kernel_bin.926a92fc-cgu.10.rcgu.o" "/opt/rustwide/target/debug/deps/kernel_bin-ab602fe50a888618.kernel_bin.926a92fc-cgu.11.rcgu.o" "/opt/rustwide/target/debug/deps/kernel_bin-ab602fe50a888618.kernel_bin.926a92fc-cgu.12.rcgu.o" "/opt/rustwide/target/debug/deps/kernel_bin-ab602fe50a888618.kernel_bin.926a92fc-cgu.13.rcgu.o" "/opt/rustwide/target/debug/deps/kernel_bin-ab602fe50a888618.kernel_bin.926a92fc-cgu.14.rcgu.o" "/opt/rustwide/target/debug/deps/kernel_bin-ab602fe50a888618.kernel_bin.926a92fc-cgu.15.rcgu.o" "/opt/rustwide/target/debug/deps/kernel_bin-ab602fe50a888618.kernel_bin.926a92fc-cgu.2.rcgu.o" "/opt/rustwide/target/debug/deps/kernel_bin-ab602fe50a888618.kernel_bin.926a92fc-cgu.3.rcgu.o" "/opt/rustwide/target/debug/deps/kernel_bin-ab602fe50a888618.kernel_bin.926a92fc-cgu.4.rcgu.o" "/opt/rustwide/target/debug/deps/kernel_bin-ab602fe50a888618.kernel_bin.926a92fc-cgu.5.rcgu.o" "/opt/rustwide/target/debug/deps/kernel_bin-ab602fe50a888618.kernel_bin.926a92fc-cgu.6.rcgu.o" "/opt/rustwide/target/debug/deps/kernel_bin-ab602fe50a888618.kernel_bin.926a92fc-cgu.7.rcgu.o" "/opt/rustwide/target/debug/deps/kernel_bin-ab602fe50a888618.kernel_bin.926a92fc-cgu.8.rcgu.o" "/opt/rustwide/target/debug/deps/kernel_bin-ab602fe50a888618.kernel_bin.926a92fc-cgu.9.rcgu.o" "/opt/rustwide/target/debug/deps/kernel_bin-ab602fe50a888618.2rutcf3508jgqvfw.rcgu.o" "-Wl,--as-needed" "-L" "/opt/rustwide/target/debug/deps" "-L" "/opt/rustwide/rustup-home/toolchains/3bbb5242a8064de4ca3af4036745ddf603ddaa85/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-Wl,-Bstatic" "/opt/rustwide/target/debug/deps/libfontdue-5c69fdb6ad381fb6.rlib" "/opt/rustwide/target/debug/deps/libttf_parser-6884b0cce94e670f.rlib" "/opt/rustwide/target/debug/deps/libhashbrown-d7942ff3b4d4524f.rlib" "/opt/rustwide/target/debug/deps/libahash-7700dd577285e696.rlib" "/opt/rustwide/target/debug/deps/libgetrandom-95da558f5d9c2367.rlib" "/opt/rustwide/target/debug/deps/liblibc-9edce8612524dfa4.rlib" "/opt/rustwide/target/debug/deps/libcfg_if-90e3626e3c41eec3.rlib" "/opt/rustwide/target/debug/deps/libonce_cell-387afb3e64f00ffe.rlib" "/opt/rustwide/rustup-home/toolchains/3bbb5242a8064de4ca3af4036745ddf603ddaa85/lib/rustlib/x86_64-unknown-linux-gnu/lib/liballoc-69100093739463c8.rlib" "/opt/rustwide/rustup-home/toolchains/3bbb5242a8064de4ca3af4036745ddf603ddaa85/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_std_workspace_core-95c4e3e80ce883d8.rlib" "/opt/rustwide/rustup-home/toolchains/3bbb5242a8064de4ca3af4036745ddf603ddaa85/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcore-d83ba1fe54f1e3d0.rlib" "/opt/rustwide/rustup-home/toolchains/3bbb5242a8064de4ca3af4036745ddf603ddaa85/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcompiler_builtins-9e21114b6170ad54.rlib" "-Wl,-Bdynamic" "-lc" "-lm" "-lrt" "-lpthread" "-Wl,--eh-frame-hdr" "-Wl,-znoexecstack" "-L" "/opt/rustwide/rustup-home/toolchains/3bbb5242a8064de4ca3af4036745ddf603ddaa85/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-o" "/opt/rustwide/target/debug/deps/kernel_bin-ab602fe50a888618" "-Wl,--gc-sections" "-pie" "-Wl,-zrelro,-znow" "-nodefaultlibs"
[INFO] [stdout]   = note: /usr/bin/ld: /usr/lib/gcc/x86_64-linux-gnu/9/../../../x86_64-linux-gnu/Scrt1.o: in function `_start':
[INFO] [stdout]           (.text+0x24): undefined reference to `main'
[INFO] [stdout]           collect2: error: ld returned 1 exit status
[INFO] [stdout]           
[INFO] [stdout]   = help: some `extern` functions couldn't be found; some native libraries may need to be installed or have their path specified
[INFO] [stdout]   = note: use the `-l` flag to specify native libraries to link
[INFO] [stdout]   = note: use the `cargo:rustc-link-lib` directive to specify the native libraries to link with Cargo (see https://doc.rust-lang.org/cargo/reference/build-scripts.html#cargorustc-link-libkindname)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to previous error; 3 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `kernel-bin` due to 2 previous errors; 3 warnings emitted
[INFO] running `Command { std: "docker" "inspect" "df2aa366f82ca302cf57e2d318cffd197c545dc87b28ac9ff474fe0dc166fb57", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "df2aa366f82ca302cf57e2d318cffd197c545dc87b28ac9ff474fe0dc166fb57", kill_on_drop: false }`
[INFO] [stdout] df2aa366f82ca302cf57e2d318cffd197c545dc87b28ac9ff474fe0dc166fb57
